package com.atom.app.mvi.ui

import android.annotation.SuppressLint
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.atom.app.mvi.Contacts
import com.atom.app.mvi.ui.main.MainActivity
import com.atom.app.mvi.ui.rd.LaunchActivity
import com.tencent.mmkv.MMKV

@SuppressLint("CustomSplashScreen")
class SplashActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        val mmkv = MMKV.defaultMMKV()
        mmkv.encode(Contacts.tag_is_first, true) // 默认跳过介绍界面
        startActivity(Intent(this , LaunchActivity::class.java))
    }
}
